//
//  UIViewController+FilePreview.h
//  NEDSuoShi
//
//  Created by 000 on 2020/11/17.
//  Copyright © 2020 林宁宁. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (FilePreview)<UIDocumentInteractionControllerDelegate>

@property (retain, nonatomic) UIDocumentInteractionController * previewService;
@property (assign, nonatomic) BOOL needClearWhenClose;

- (void)ned_preview:(NSURL *)fileurl;
- (void)ned_preview:(NSURL *)fileurl needClean:(BOOL)needClearWhenClose;

@end

NS_ASSUME_NONNULL_END
